﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class Collect
    {
        //收藏夹表
        private int id;//主键
        private int userid;//外键用户id
        private int storeid;//外键店铺id
        private int proid;//外键商品id

        public Collect() { }
        public Collect( int userid, int storeid, int proid)
        {
            this.userid = userid;
            this.storeid = storeid;
            this.proid = proid;
        }
        public Collect(int id, int userid, int storeid, int proid)
        {
            this.id = id;
            this.userid = userid;
            this.storeid = storeid;
            this.proid = proid;
        }

        public int Id { get => id; set => id = value; }
        public int Userid { get => userid; set => userid = value; }
        public int Storeid { get => storeid; set => storeid = value; }
        public int Proid { get => proid; set => proid = value; }
    }
}
